//
//  ImageCollectionViewCell.m
//  14-collectionview-test
//
//  Created by Snow on 16/8/2.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "ImageCollectionViewCell.h"

@interface ImageCollectionViewCell ()
@property (nonatomic, strong) UIImageView * myImageView;
@end
@implementation ImageCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _myImageView = [[UIImageView alloc] initWithFrame:self.bounds];//注意bounds 与 frame 区别 一定要使用bounds
        [self.contentView addSubview:_myImageView];
    }
    return self;
}
@end
